﻿<Window x:Class="MachineQA.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:MachineQA"    
        Title="{Binding Path=DisplayName}"
        Height="1024" Width="1280" WindowStyle="SingleBorderWindow" Loaded="Window_Loaded" Visibility="Collapsed"
        Left="0" Top="0">
    <Window.Resources>
        <ResourceDictionary Source="MainWindowResources.xaml" />
    </Window.Resources>
    <StackPanel Orientation="Vertical" Background="#FF333333">
        <Menu Height="23" Name="menu1" Width="Auto" HorizontalAlignment="Right">
            <MenuItem Name="AboutMenuItem" Header="About" Click="AboutMenuItem_Click" />
        </Menu>
        <DockPanel>
            <ContentControl 
                Name="MainContent"
                Content="{Binding Path=Workspaces}"
                ContentTemplate="{StaticResource WorkspacesTemplate}"
            />
        </DockPanel>
    </StackPanel>
</Window>
